package method;

import java.util.Scanner;

public class methodDemo2 {
    public static void main(String[] args) {
        print1();
        print2(3, 4);
        scan1();
        getavg(13,12,11);
        int avg = getavg(13,12,11);
        System.out.println(avg);
    }

    public static void print1() {
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 3; j++) {
                System.out.print('*');
            }
            System.out.println();
        }
    }

    public static void print2(int m, int n) {
        for (int i = 0; i < m; i++) {
            for (int j = 0; j < n; j++) {
                System.out.print('*');
            }
            System.out.println();
        }
    }
    public static void scan1() {
        Scanner scan = new Scanner(System.in);
        int i = scan.nextInt();
    }

    public static int getavg(int a, int b, int c) {
        return (a + b + c) / 3;
    }
}
